Reply Mail
AutomatR.ExchangeServer.Activities.ReplyMail
The "Reply Mail" activity in AutomatR is part of the Exchange Server activities package, allowing you to reply to a specified email. This activity simplifies the process of composing and sending a reply, including support for attachments and different reply types.
Properties
Name | Description |
---|---|
Input | |
Attachments | Specify the full file path of the file(s) you wish to attach from your local drive as a reply to the email, using a List<String> variable. |
Body | Provide the desired body content that you would like to send as a reply, in the form of text or HTML. String variable containing the reply body. |
Mail Message | Specify the message you want to reply to. This field only supports a mail message variable. |
Reply Type | Select a reply type from the dropdown menu to specify the appropriate format for the reply email to be sent. Enum variable representing reply types (e.g., Reply or ReplyAll ). |
Subject | Provide the subject line of the email for which you would like to send a reply. String variable containing the reply subject. |
Misc | |
Display Name | The display name of the activity. A display name is automatically generated when you indicate a target. |
Optional | |
Delay | Enter the wait time in seconds (Example 5 seconds, i.e., 5) to start the activity. Integer variable representing the delay duration. |
How to use:
- Drag and drop the "Reply Mail" activity onto the workflow.
- Configure the properties by specifying the email to reply to, reply type, subject, body, and attachments (if needed).
- Optionally, configure the delay.
- Execute the workflow to send a reply email.
Example: Consider an example where the "Reply Mail" activity is used to reply to an email with a specific subject and body:
Reply Mail:
Mail Message: originalMailMessage
Reply Type: Reply
Subject: "Re: Your Inquiry"
Body: "Thank you for your inquiry. We will get back to you shortly."
Attachments: attachmentPathsList
In this example, the activity replies to the original email (originalMailMessage
) with the subject "Re: Your Inquiry" and the body "Thank you for your inquiry. We will get back to you shortly." The attachments are specified using the attachmentPathsList
variable.